package com.stm.bi.annotation;

import com.stm.framework.annotation.ResParam;
import org.springframework.core.annotation.AliasFor;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * 返回参数注解说明
 *
 * @author chenyingjun
 */
@Target({ElementType.FIELD})
@Retention(RetentionPolicy.RUNTIME)
@ResParam(label = "")
public @interface QueryColumn {
    @AliasFor(annotation = ResParam.class)
    String label();//参数名

    @AliasFor(annotation = ResParam.class)
    String example() default "";//样例

    @AliasFor(annotation = ResParam.class)
    String note() default "";//参数说明

    @AliasFor(annotation = ResParam.class)
    String client() default "";//接收终端

    String group() default "";

    String column() default "";
}
